package com.onluy.conf;

//import com.onluy.frameworkcloud.system.filter.ParamDecodeFilter;
//import feign.Contract;
//import feign.auth.BasicAuthRequestInterceptor;
//import org.springframework.boot.web.servlet.FilterRegistrationBean;
//import org.springframework.cloud.client.loadbalancer.LoadBalanced;
//import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.web.client.RestTemplate;

import java.util.ArrayList;
import java.util.List;

@Configuration
@ImportResource(locations={"classpath:/conf/beans.xml"})
public class BeansXml {


//    @Bean
//    public Contract feignContract() {
//        return new feign.Contract.Default();
//    }
//
//    @Bean
//    public BasicAuthRequestInterceptor basicAuthRequestInterceptor() {
//        return new BasicAuthRequestInterceptor("user", "password");
//    }

}
